package com.ruoyi.zsyh.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 师傅申请配件对象 zsyh_service_order_parts
 * 
 * @author yuexl
 * @date 2022-09-06
 */
public class ZsyhServiceOrderParts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 申请配件id */
    private String id;

    /** 订单id */
    @Excel(name = "订单id")
    private String orderId;

    /** 师傅id */
    @Excel(name = "师傅id")
    private String repairId;

    /** 申请状态 1待审核 2待发件 3已发件 4已返件待确认 5审核拒绝 6已完结 */
    @Excel(name = "申请状态 1待审核 2待发件 3已发件 4已返件待确认 5审核拒绝 6已完结")
    private String partsState;

    /** 拒绝原因 */
    @Excel(name = "拒绝原因")
    private String partsContent;

    /** 整机外形图片 */
    @Excel(name = "整机外形图片")
    private String imagesMachine;

    /** 整机条码或铭牌图片 */
    @Excel(name = "整机条码或铭牌图片")
    private String imagesCode;

    /** 故障配件图片 多个用|隔开 */
    @Excel(name = "故障配件图片 多个用|隔开")
    private String imagesFault;

    /** 收件人 */
    @Excel(name = "收件人")
    private String userName;

    /** 收件手机号 */
    @Excel(name = "收件手机号")
    private String userPhone;

    /** 收件地址 */
    @Excel(name = "收件地址")
    private String userAddress;

    /** 快递公司id */
    @Excel(name = "快递公司id")
    private String logisticsId;

    /** 快递公司名称 */
    @Excel(name = "快递公司名称")
    private String logisticsName;

    /** 快递单号 */
    @Excel(name = "快递单号")
    private String logisticsNumber;

    /** 物流凭证（厂家上传） */
    @Excel(name = "物流凭证", readConverterExp = "厂=家上传")
    private String logisticsProof;

    /** 备注（厂家填写） */
    @Excel(name = "备注", readConverterExp = "厂=家填写")
    private String logisticsRemarks;

    /** 是否需要返回旧配件 1是 0否 */
    @Excel(name = "是否需要返回旧配件 1是 0否")
    private String isReturn;

    /** 厂家收件人（厂家审核时填写） */
    @Excel(name = "厂家收件人", readConverterExp = "厂=家审核时填写")
    private String factoryName;

    /** 厂家收件手机号（厂家审核时填写） */
    @Excel(name = "厂家收件手机号", readConverterExp = "厂=家审核时填写")
    private String factoryPhone;

    /** 厂家收件地址 （厂家审核时填写） */
    @Excel(name = "厂家收件地址 ", readConverterExp = "厂=家审核时填写")
    private String factoryAddress;

    /** 退回旧配件 快递公司id */
    @Excel(name = "退回旧配件 快递公司id")
    private String returnLogisticsId;

    /** 退回旧配件 快递公司名称 */
    @Excel(name = "退回旧配件 快递公司名称")
    private String returnLogisticsName;

    /** 退回旧配件 快递单号 */
    @Excel(name = "退回旧配件 快递单号")
    private String returnLogisticsNumber;

    /** 物流凭证（师傅返件是填写） */
    @Excel(name = "物流凭证", readConverterExp = "师=傅返件是填写")
    private String returnLogisticsProof;

    /** 备注（师傅返件是填写） */
    @Excel(name = "备注", readConverterExp = "师=傅返件是填写")
    private String returnLogisticsRemarks;

    private String faultDescription;//师傅申请添加故障描述

    private String returnPartsMoney;//是否申请过返件费，1已申请 0未申请

    private String shippingType;//是否返件付费方式 1寄付，2到付 寄付才允许申请返件费

    private String factoryId;

    private List<ZsyhServiceOrderPartsLog> partsLogList;

    private List<ZsyhServiceOrderPartsRel> partsRelList;

    private String logisticsJson;

    private String returnLogisticsJson;

    private String repairStorePerson;

    private String repairStorePhone;

    //申请返件费的状态 1待审核 2已通过 3拒绝（可以申请） 0未申请（可以申请）
    private String applyMoneyState;

    private String partsInformation;

    private int partsInformationNum;

    private String productTypeName;

    private String productBrand;

    private String productModel;

    private String productAttribute;

    private String isNewParts;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setRepairId(String repairId) 
    {
        this.repairId = repairId;
    }

    public String getRepairId() 
    {
        return repairId;
    }
    public void setPartsState(String partsState) 
    {
        this.partsState = partsState;
    }

    public String getPartsState() 
    {
        return partsState;
    }
    public void setPartsContent(String partsContent) 
    {
        this.partsContent = partsContent;
    }

    public String getPartsContent() 
    {
        return partsContent;
    }
    public void setImagesMachine(String imagesMachine) 
    {
        this.imagesMachine = imagesMachine;
    }

    public String getImagesMachine() 
    {
        return imagesMachine;
    }
    public void setImagesCode(String imagesCode) 
    {
        this.imagesCode = imagesCode;
    }

    public String getImagesCode() 
    {
        return imagesCode;
    }
    public void setImagesFault(String imagesFault) 
    {
        this.imagesFault = imagesFault;
    }

    public String getImagesFault() 
    {
        return imagesFault;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }
    public void setUserAddress(String userAddress) 
    {
        this.userAddress = userAddress;
    }

    public String getUserAddress() 
    {
        return userAddress;
    }
    public void setLogisticsId(String logisticsId) 
    {
        this.logisticsId = logisticsId;
    }

    public String getLogisticsId() 
    {
        return logisticsId;
    }
    public void setLogisticsName(String logisticsName) 
    {
        this.logisticsName = logisticsName;
    }

    public String getLogisticsName() 
    {
        return logisticsName;
    }
    public void setLogisticsNumber(String logisticsNumber) 
    {
        this.logisticsNumber = logisticsNumber;
    }

    public String getLogisticsNumber() 
    {
        return logisticsNumber;
    }
    public void setLogisticsProof(String logisticsProof) 
    {
        this.logisticsProof = logisticsProof;
    }

    public String getLogisticsProof() 
    {
        return logisticsProof;
    }
    public void setLogisticsRemarks(String logisticsRemarks) 
    {
        this.logisticsRemarks = logisticsRemarks;
    }

    public String getLogisticsRemarks() 
    {
        return logisticsRemarks;
    }
    public void setIsReturn(String isReturn) 
    {
        this.isReturn = isReturn;
    }

    public String getIsReturn() 
    {
        return isReturn;
    }
    public void setFactoryName(String factoryName) 
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName() 
    {
        return factoryName;
    }
    public void setFactoryPhone(String factoryPhone) 
    {
        this.factoryPhone = factoryPhone;
    }

    public String getFactoryPhone() 
    {
        return factoryPhone;
    }
    public void setFactoryAddress(String factoryAddress) 
    {
        this.factoryAddress = factoryAddress;
    }

    public String getFactoryAddress() 
    {
        return factoryAddress;
    }
    public void setReturnLogisticsId(String returnLogisticsId) 
    {
        this.returnLogisticsId = returnLogisticsId;
    }

    public String getReturnLogisticsId() 
    {
        return returnLogisticsId;
    }
    public void setReturnLogisticsName(String returnLogisticsName) 
    {
        this.returnLogisticsName = returnLogisticsName;
    }

    public String getReturnLogisticsName() 
    {
        return returnLogisticsName;
    }
    public void setReturnLogisticsNumber(String returnLogisticsNumber) 
    {
        this.returnLogisticsNumber = returnLogisticsNumber;
    }

    public String getReturnLogisticsNumber() 
    {
        return returnLogisticsNumber;
    }
    public void setReturnLogisticsProof(String returnLogisticsProof) 
    {
        this.returnLogisticsProof = returnLogisticsProof;
    }

    public String getReturnLogisticsProof() 
    {
        return returnLogisticsProof;
    }
    public void setReturnLogisticsRemarks(String returnLogisticsRemarks) 
    {
        this.returnLogisticsRemarks = returnLogisticsRemarks;
    }

    public String getReturnLogisticsRemarks() 
    {
        return returnLogisticsRemarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("orderId", getOrderId())
            .append("repairId", getRepairId())
            .append("partsState", getPartsState())
            .append("partsContent", getPartsContent())
            .append("imagesMachine", getImagesMachine())
            .append("imagesCode", getImagesCode())
            .append("imagesFault", getImagesFault())
            .append("userName", getUserName())
            .append("userPhone", getUserPhone())
            .append("userAddress", getUserAddress())
            .append("logisticsId", getLogisticsId())
            .append("logisticsName", getLogisticsName())
            .append("logisticsNumber", getLogisticsNumber())
            .append("logisticsProof", getLogisticsProof())
            .append("logisticsRemarks", getLogisticsRemarks())
            .append("isReturn", getIsReturn())
            .append("factoryName", getFactoryName())
            .append("factoryPhone", getFactoryPhone())
            .append("factoryAddress", getFactoryAddress())
            .append("returnLogisticsId", getReturnLogisticsId())
            .append("returnLogisticsName", getReturnLogisticsName())
            .append("returnLogisticsNumber", getReturnLogisticsNumber())
            .append("returnLogisticsProof", getReturnLogisticsProof())
            .append("returnLogisticsRemarks", getReturnLogisticsRemarks())
            .toString();
    }

    public List<ZsyhServiceOrderPartsLog> getPartsLogList() {
        return partsLogList;
    }

    public void setPartsLogList(List<ZsyhServiceOrderPartsLog> partsLogList) {
        this.partsLogList = partsLogList;
    }

    public List<ZsyhServiceOrderPartsRel> getPartsRelList() {
        return partsRelList;
    }

    public void setPartsRelList(List<ZsyhServiceOrderPartsRel> partsRelList) {
        this.partsRelList = partsRelList;
    }

    public String getFaultDescription() {
        return faultDescription;
    }

    public void setFaultDescription(String faultDescription) {
        this.faultDescription = faultDescription;
    }

    public String getReturnPartsMoney() {
        return returnPartsMoney;
    }

    public void setReturnPartsMoney(String returnPartsMoney) {
        this.returnPartsMoney = returnPartsMoney;
    }

    public String getShippingType() {
        return shippingType;
    }

    public void setShippingType(String shippingType) {
        this.shippingType = shippingType;
    }

    public String getLogisticsJson() {
        return logisticsJson;
    }

    public void setLogisticsJson(String logisticsJson) {
        this.logisticsJson = logisticsJson;
    }

    public String getReturnLogisticsJson() {
        return returnLogisticsJson;
    }

    public void setReturnLogisticsJson(String returnLogisticsJson) {
        this.returnLogisticsJson = returnLogisticsJson;
    }

    public String getRepairStorePerson() {
        return repairStorePerson;
    }

    public void setRepairStorePerson(String repairStorePerson) {
        this.repairStorePerson = repairStorePerson;
    }

    public String getRepairStorePhone() {
        return repairStorePhone;
    }

    public void setRepairStorePhone(String repairStorePhone) {
        this.repairStorePhone = repairStorePhone;
    }

    public String getApplyMoneyState() {
        return applyMoneyState;
    }

    public void setApplyMoneyState(String applyMoneyState) {
        this.applyMoneyState = applyMoneyState;
    }

    public String getPartsInformation() {
        return partsInformation;
    }

    public void setPartsInformation(String partsInformation) {
        this.partsInformation = partsInformation;
    }

    public int getPartsInformationNum() {
        return partsInformationNum;
    }

    public void setPartsInformationNum(int partsInformationNum) {
        this.partsInformationNum = partsInformationNum;
    }

    public String getFactoryId() {
        return factoryId;
    }

    public void setFactoryId(String factoryId) {
        this.factoryId = factoryId;
    }

    public String getProductTypeName() {
        return productTypeName;
    }

    public void setProductTypeName(String productTypeName) {
        this.productTypeName = productTypeName;
    }

    public String getProductBrand() {
        return productBrand;
    }

    public void setProductBrand(String productBrand) {
        this.productBrand = productBrand;
    }

    public String getProductModel() {
        return productModel;
    }

    public void setProductModel(String productModel) {
        this.productModel = productModel;
    }

    public String getProductAttribute() {
        return productAttribute;
    }

    public void setProductAttribute(String productAttribute) {
        this.productAttribute = productAttribute;
    }

    public String getIsNewParts() {
        return isNewParts;
    }

    public void setIsNewParts(String isNewParts) {
        this.isNewParts = isNewParts;
    }
}
